package cn.jiyun.feign;

import cn.jiyun.utils.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Title: DirectoryFegin
 * @Author 王鸽
 * @Date 2023/8/26 15:42
 */
@FeignClient(name = "p11-day09-directory")
public interface DirectoryFegin {
    @GetMapping("/directory/findAll2")
    public ResultResponse findAll2(@RequestParam("cid") String cid);
    @RequestMapping("/directory/updateStatus")
    public ResultResponse updateStatus(@RequestParam("id") Long id);
}
